package com.dongnam.quanly.common.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;

import com.dongnam.quanly.common.model.enumtype.HinhThuc;
import com.dongnam.quanly.common.model.enumtype.LoaiPhieu;
import com.dongnam.quanly.common.model.enumtype.TrangThaiDonHang;

@Entity
@Table(name = "PhieuThuChi")
public class PhieuThuChi {

	@Id
	@Column(name = "SoChungTu", length = 30)
	private String soChungTu;

	@Column(name = "NgayLap")
	private Date ngayLap;

	@Column(name = "NguoiLap")
	private String nguoiLap;

	@Column(name = "NhanVien")
	private String nhanVien;

	@Column(name = "DoiTac")
	private String doiTac;

	@Column(name = "CaNhan")
	private String caNhan;

	@Column(name = "DonHang")
	private String donHang;

	@Column(name = "HoaDon")
	private String hoaDon;

	@Column(name = "PhieuNhapXuat")
	private String phieuNhapXuat;

	@Column(name = "HopDong")
	private String hopDong;

	@Column(name = "HinhThuc")
	@Enumerated(EnumType.STRING)
	private HinhThuc hinhThuc;

	@Column(name = "LoaiPhieu")
	@Enumerated(EnumType.STRING)
	private LoaiPhieu loaiPhieu;

	@Column(name = "SoTaiKhoanChuyen")
	private String soTaiKhoanChuyen;

	@Column(name = "SoTaiKhoanNhan")
	private String soTaiKhoanNhan;

	@Column(name = "SoTien")
	private Double soTien;

	@Column(name = "DienGiai")
	private String dienGiai;

	@Column(name = "TrangThai")
	@Enumerated(EnumType.STRING)
	private TrangThaiDonHang trangThai;

	@Column(name = "SoTaiKhoanNo")
	private String soTaiKhoanNo;

	@Column(name = "SoTaiKhoanCo")
	private String soTaiKhoanCo;

	public PhieuThuChi() {
		// TODO Auto-generated constructor stub
	}

	public String getSoChungTu() {
		return soChungTu;
	}

	public void setSoChungTu(String soChungTu) {
		this.soChungTu = soChungTu;
	}

	public Date getNgayLap() {
		return ngayLap;
	}

	public void setNgayLap(Date ngayLap) {
		this.ngayLap = ngayLap;
	}

	public String getCaNhan() {
		return caNhan;
	}

	public void setCaNhan(String caNhan) {
		this.caNhan = caNhan;
	}

	public String getPhieuNhapXuat() {
		return phieuNhapXuat;
	}

	public void setPhieuNhapXuat(String phieuNhapXuat) {
		this.phieuNhapXuat = phieuNhapXuat;
	}

	public String getHopDong() {
		return hopDong;
	}

	public void setHopDong(String hopDong) {
		this.hopDong = hopDong;
	}

	public HinhThuc getHinhThuc() {
		return hinhThuc;
	}

	public void setHinhThuc(HinhThuc hinhThuc) {
		this.hinhThuc = hinhThuc;
	}

	public LoaiPhieu getLoaiPhieu() {
		return loaiPhieu;
	}

	public void setLoaiPhieu(LoaiPhieu loaiPhieu) {
		this.loaiPhieu = loaiPhieu;
	}

	public String getSoTaiKhoanChuyen() {
		return soTaiKhoanChuyen;
	}

	public void setSoTaiKhoanChuyen(String soTaiKhoanChuyen) {
		this.soTaiKhoanChuyen = soTaiKhoanChuyen;
	}

	public String getSoTaiKhoanNhan() {
		return soTaiKhoanNhan;
	}

	public void setSoTaiKhoanNhan(String soTaiKhoanNhan) {
		this.soTaiKhoanNhan = soTaiKhoanNhan;
	}

	public Double getSoTien() {
		return soTien;
	}

	public void setSoTien(Double soTien) {
		this.soTien = soTien;
	}

	public String getDienGiai() {
		return dienGiai;
	}

	public void setDienGiai(String dienGiai) {
		this.dienGiai = dienGiai;
	}

	public TrangThaiDonHang getTrangThai() {
		return trangThai;
	}

	public void setTrangThai(TrangThaiDonHang trangThai) {
		this.trangThai = trangThai;
	}

	public String getSoTaiKhoanNo() {
		return soTaiKhoanNo;
	}

	public void setSoTaiKhoanNo(String soTaiKhoanNo) {
		this.soTaiKhoanNo = soTaiKhoanNo;
	}

	public String getSoTaiKhoanCo() {
		return soTaiKhoanCo;
	}

	public void setSoTaiKhoanCo(String soTaiKhoanCo) {
		this.soTaiKhoanCo = soTaiKhoanCo;
	}

	public String getNguoiLap() {
		return nguoiLap;
	}

	public void setNguoiLap(String nguoiLap) {
		this.nguoiLap = nguoiLap;
	}

	public String getNhanVien() {
		return nhanVien;
	}

	public void setNhanVien(String nhanVien) {
		this.nhanVien = nhanVien;
	}

	public String getDoiTac() {
		return doiTac;
	}

	public void setDoiTac(String doiTac) {
		this.doiTac = doiTac;
	}

	public String getDonHang() {
		return donHang;
	}

	public void setDonHang(String donHang) {
		this.donHang = donHang;
	}

	public String getHoaDon() {
		return hoaDon;
	}

	public void setHoaDon(String hoaDon) {
		this.hoaDon = hoaDon;
	}

}
